<?php
/**
 * Created by wjssk-blog
 * user: alan.yue
 * Date：2021-02-10
 * Time: 22:04
 */

namespace app\admin\controller;


class Error
{
    public function index(){
        $action = request()->controller();
        if(!method_exists(controller('index'), $action)){
            dump(request());
        }
        return controller('index')->$action();
    }
}